
#ifndef TIANYU_GAME_EVENT_H_
#define TIANYU_GAME_EVENT_H_

#include "../share/delegate.h"
#include "../share/object.h"
#include <string>

class Player;

extern Delegate1< Player& > player_enter_game_event;//玩家进入游戏事件
extern Delegate1< Player& > player_leave_game_event;//玩家离开游戏事件（实体销毁）
extern Delegate1< Player& > player_disconnect_event;//断开连接，实体还在
extern Delegate1< int32_t > activity_start_event;
extern Delegate1< int32_t > activity_end_event;
extern Delegate1< int32_t > role_join_team_event;

#endif

